<template>
  <div id="app">
    <left-bar></left-bar>
    <keep-alive>
      <router-view class="routerView"></router-view>
    </keep-alive>
    <right-bar></right-bar>
  </div>
</template>

<script>
import LeftBar from "@/components/leftbar/LeftBar.vue";
import RightBar from "@/components/rightbar/RightBar.vue";

export default {
  name: "App",
  components: {
    LeftBar,
    RightBar,
  },
};
</script>

<style>
body {
  overflow-x: hidden;
  overflow-y: hidden;
}

#app {
  width: 1000px;
  height: 800px;
  margin-left: 15px;
  margin-top: 15px;
  border-radius: 20px;
  box-shadow: 0 0 10px 5px gray;
  -webkit-user-select: none;
  background-color: #fff;
}

.routerView {
  width: 910px;
  height: 800px;
  float: left;
}
</style>
